package cn.sofwin.blog.service;

import cn.sofwin.blog.entity.Admin;
import org.apache.ibatis.session.SqlSession;

/**
 * 服务层
 * @author zx
 * @since 1.0
 *
 */
public interface AdminService {

     SqlSession getSession();

    Admin findByName(String name);

    Admin login(String username, String password);
}